<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/4/21
 * Time: 23:09
 */
$i=0;
while(1){
    $i++;
    file_put_contents("D:/1.html",$i,FILE_APPEND);
    sleep(1);
}